﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<%
    string SecuredLoansAmountMin = ((decimal)this.ViewData["SecuredLoansAmountMin"]).ToString("0,000");
    string SecuredLoansAmountMax = ((decimal)this.ViewData["SecuredLoansAmountMax"]).ToString("0,000");

    string UnSecuredLoansAmountMin = ((decimal)this.ViewData["UnSecuredLoansAmountMin"]).ToString("0,000");
    string UnSecuredLoansAmountMax = ((decimal)this.ViewData["UnSecuredLoansAmountMax"]).ToString("0,000");
     %>
<script type="text/javascript" src="<%= Url.Content("~/Scripts/SWFObject.js")%>"></script>

<div id="homebanner">
    <div class="slideshow">
        <div id="flashcontent">
            <p>
                In order to view this page you need JavaScript and Flash Player 8+ support!</p>
        </div>
    </div>
    <ul class="tickbox">
        <li>No financials</li>
        <li>No tax returns</li>
        <li>Bad credit considered</li>
        <li>Fast and easy</li>
    </ul>
</div>

<div id="homeboxcontainer">
    <!--start box1-->
    <div class="homebox">
        <h1 class="box1hd">
            Unsecured loans</h1>
        <div class="fimg">
            <img src="<%=Url.Content("~/Content/images/box1pic.jpg")%>" alt="Unsecured loans" width="284" height="86" /></div>
        <h2>
            From $<%=UnSecuredLoansAmountMin%> to $<%=UnSecuredLoansAmountMax%><br />
            1 month to 1 year</h2>
        <ul class="homeboxinfo">
            <li>Fast and easy application</li>
            <li>No application fee</li>
            <li>Same day approval</li>
        </ul>
        <ul class="btns">
            <li class="btn1"><a href="<%=Url.Action("Unsecured-Loans","Home")%>">Read More</a></li>
            <li class="btn2"><a href="<%=Url.Action("Index","Unsecured")%>">Apply Now</a></li>
        </ul>
    </div>
    <!--start box2-->
    <div class="homebox">
        <h1 class="box2hd">
            Secured loans</h1>
        <div class="fimg">
            <img src="<%=Url.Content("~/Content/images/box2pic.jpg")%>" alt="Secured loans" width="284" height="86" /></div>
        <h2>
            From $<%=SecuredLoansAmountMin%> to $<%=SecuredLoansAmountMax %><br />
            1 month to 1 year</h2>
        <ul class="homeboxinfo">
            <li>No upfront fees</li>
            <li>Bad credit considered</li>
            <li>Same day approval</li>
        </ul>
        <ul class="btns">
            <li class="btn1"><a href="<%=Url.Action("Secured-Loans","Home")%>">Read More</a></li>
            <li class="btn2"><a href="<%=Url.Action("Index","Secured")%>">Apply Now</a></li>
        </ul>
    </div>
    <!--start box3-->
    <div class="homebox" style="margin-right: 0px;">
        <h1 class="box3hd">
            Payroll Finance</h1>
        <div class="fimg">
            <img src="<%=Url.Content("~/Content/images/box3pic.jpg")%>" alt="Payroll Finance" width="284" height="86" /></div>
        <h2>
            Up to 2 months wage bill<br />
            56 days</h2>
        <ul class="homeboxinfo">
            <li>New method of funding</li>
            <li>Online overdraft</li>
            <li>Easy to use</li>
        </ul>
        <ul class="btns">
            <li class="btn1"><a href="">Read More</a></li>
            <li class="btn2"><a href="">Apply Now</a></li>
        </ul>
    </div>
</div>

<script type="text/javascript">
    $(document).ready(function () {
        //Change current menu item style for selected
        $("#nav li #home").addClass("actived");
    })
</script>

<script type="text/javascript">
    var tvc = new SWFObject("<%=Url.Content("~/Content/flashs/slideshow.swf")%>", "feature", "707", "260", "8");
    tvc.addParam('menu', 'false');
    tvc.addParam('wmode', 'transparency');
    tvc.write("flashcontent");
</script>
</asp:Content>
